<!doctype html>
<html class="no-js" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">

    <head th:include="commons/head::head">
    </head>
    <body>
        <!--[if lte IE 9]>
        <p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>以获得更好的体验！</p>
        <![endif]-->
        <header th:replace="commons/header::header"></header>

        <div class="am-cf admin-main">
            <!-- sidebar start -->
            <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
                <div class="am-offcanvas-bar admin-offcanvas-bar">
                    <ul th:replace="commons/menu::menu"></ul>

                    <div class="am-panel am-panel-default admin-sidebar-panel">
                        <div class="am-panel-bd">
                            <p><span class="am-icon-bookmark"></span> 公告</p>
                            <p>时光静好，与君语；细水流年，与君同。—— 冯智豪</p>
                        </div>
                    </div>

                    <div class="am-panel am-panel-default admin-sidebar-panel">
                        <div class="am-panel-bd">
                            <p><span class="am-icon-tag"></span> wiki</p>
                            <p>Welcome to the Amaze UI wiki!</p>
                        </div>
                    </div>
                </div>
            </div>
            <!-- sidebar end -->

            <!-- content start -->
            <div class="admin-content">
                <div class="admin-content-body">
                    <div class="am-cf am-padding am-padding-bottom-0">
                        <div class="am-fl">
                            <strong class="am-text-primary am-text-lg" th:text="${param.name != null and param.name.length == 1 ? param.name[0] :'首页'}"></strong>
                        </div>
                    </div>

                    <hr/>

                    <div class="am-g" th:replace="${iframe_path}::body" >

                    </div>
                </div>

                <footer class="admin-content-footer">
                    <hr/>
                    <p class="am-padding-left">Copyright © 2017 冯智豪  上海 |  17612132679/(上海)  |  豫ICP备17042607号</p>
                </footer>
            </div>
            <!-- content end -->

        </div>

		<div class="am-modal am-modal-alert" tabindex="-1" id="amaze-alert">
		  <div class="am-modal-dialog">
		    <div class="am-modal-hd" id="amaze-alert-title"></div>
		    <div class="am-modal-bd" id="amaze-alert-message">
		    </div>
		    <div class="am-modal-footer">
		      <span class="am-modal-btn">确定</span>
		    </div>
		  </div>
		</div>
		<div class="am-modal am-modal-confirm" tabindex="-1" id="amaze-confirm">
		  <div class="am-modal-dialog">
		    <div class="am-modal-hd" id="amaze-confirm-title"></div>
		    <div class="am-modal-bd" id="amaze-confirm-message">
		    </div>
		    <div class="am-modal-footer">
		      <span class="am-modal-btn" data-am-modal-cancel>取消</span>
		      <span class="am-modal-btn" data-am-modal-confirm>确定</span>
		    </div>
		  </div>
		</div>

        <a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>
    </body>
</html>
